﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RecentBar.ascx.cs" Inherits="CuaHangLego.Webform.Controls.FilterBar" %>
<asp:Label ID="Label1" runat="server" Font-Size="X-Large" Text="Đã xem" />
<div style="clear:both" />
<asp:Repeater runat="server" ID="recentItems" OnItemDataBound="recentItems_ItemDataBound">
    <ItemTemplate>
        <asp:Panel runat="server" CssClass="ListViewProduct">
            <asp:HyperLink runat="server" ID="ProductLink" CssClass="ProductLink">
                <div class="recentImg2">
                    <asp:Image ID="Image1" ImageUrl='<%# String.Format("../img/{0}", DataBinder.Eval(Container.DataItem, "HinhAnh")) %>' CssClass="ProductImage" runat="server" meta:resourcekey="ImageResource1" />
                </div>
                <div class="recentInfo">
                    <asp:Label ID="TenSP" runat="server" CssClass="ProductName" Text='<%# DataBinder.Eval(Container.DataItem, "Ten") %>' meta:resourcekey="TenSPResource1"/>
                    <br />
                    <span class="productprice"><asp:Label ID="GiaBan" runat="server" Text='<%# String.Format(System.Globalization.CultureInfo.CreateSpecificCulture("vi-VN"), "{0:n0}.000", (int)DataBinder.Eval(Container.DataItem, "GiaBan")) %>' meta:resourcekey="GiaBanResource1" /></span>
                    <asp:HiddenField ID="ProductID" runat="server" Value='<%# DataBinder.Eval(Container.DataItem, "MaSo") %>' />
                </div>
            </asp:HyperLink>
        </asp:Panel>
    </ItemTemplate>
</asp:Repeater>